Package com.cisco.pt.ipc.sim
Interface PortKeepAliveProcess
- All Known Subinterfaces:
FrameRelayProcess,PPPProcess
- All Known Implementing Classes:
FrameRelayProcessImpl,PortKeepAliveProcessImpl,PPPProcessImpl
Information provided by the PKI file:
\class PortKeepAliveProcess
\brief PortKeepAliveProcess handles the keepalive process on a device port.
\example network().getDevice("Router0").getKeepAliveProcess()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetKeepAliveInterval(int interval) Information provided by the PKI file:voidsetKeepAliveOn(boolean bOn) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setKeepAliveOn
void setKeepAliveOn(boolean bOn) Information provided by the PKI file:
\Enables or disables keepalive. \param bOn, true to enable keepalive, false to disable it.- Parameters:
bOn- Takes in a parameter of bOn
-
isKeepAliveOn
boolean isKeepAliveOn()Information provided by the PKI file:
\brief Returns true if keepalive is enabled, otherwise false. \return bool, true if keepalive is enabled, otherwise false.- Returns:
- boolean Returns a boolean
-
setKeepAliveInterval
void setKeepAliveInterval(int interval) Information provided by the PKI file:
\brief Sets the keepalive interval. \param interval, the interval for keepalive.- Parameters:
interval- Takes in a parameter of interval
-
getKeepAliveInterval
int getKeepAliveInterval()Information provided by the PKI file:
\brief Returns the keepalive interval. \return int, the keepalive interval.- Returns:
- int Returns a int
-